using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;

public partial class DoLogin : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        lblMessage.Text = Common.GetErrorText(Request.QueryString["msg"]);
        Dictionary<string, string> param = new Dictionary<string, string>();
        param.Add("$1", "<a title=\"" + ResourceHelper.Get("LBL_Register") + "\" href=\"Register.aspx\">" + ResourceHelper.Get("LBL_Register") + "</a>");
        lblRegister.Text = ResourceHelper.Get("MSG_Register", param);

        HtmlGenericControl body = (HtmlGenericControl)Page.Master.FindControl("_body");
        body.Attributes.Add("onload", "javascript:document.getElementById('" + cLogin.UserNameControl + "').focus();");
    }
}
